package com.spboot.service.impl;

import com.spboot.entity.Permission;
import com.spboot.mapper.PermissionMapper;
import com.spboot.service.PermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author guocb
 * @since 2019-12-25
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements PermissionService {

	@Override
	public List<Permission> selectPermission(Integer roleId) {
		return this.baseMapper.selectPermission(roleId);
	}

}
